package com.zjj.learn.designmodel.principles.demo4.after;

/**
 * *** @author zjj_admin
 * *** 2022/4/5 11:30
 */
public class ClientTest {

    public static void main(String[] args) {

        HeimeSafetyDoor heimeSafetyDoor = new HeimeSafetyDoor();
        heimeSafetyDoor.antiTheft();
        heimeSafetyDoor.fireProof();
        heimeSafetyDoor.waterProof();

        System.out.println("=======================");

        ItcastSafetyDoor itcastSafetyDoor = new ItcastSafetyDoor();
        itcastSafetyDoor.antiTheft();
      //  itcastSafetyDoor.fireProof();
    }
}
